home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / person / lq107.zip / INSTALL.BAT < prev    next >
DOS Batch File  |  1993-01-02  |  2KB  |  83 lines

  1. @echo off
  2. if %2x==x goto NOTE1
  3. if exist %1\lq.* goto START
  4. echo.
  5. echo LQ software not found in %1!
  6. echo.
  7. goto end
  8.  
  9. :START
  10. echo Installing the LQ software.
  11. echo.
  12. copy %1\adisctrl %2
  13. copy %1\lq.bat   %2
  14. if not exist %2\lq.bat goto NOTE2
  15. echo Creating %2\LM subdirectory.
  16. echo.
  17. md %2\lm
  18.  
  19. echo Copying files from %1 to %2
  20. echo.
  21. copy %1 %2\LM
  22. if exist %2\LM\esfmicr.*  del %2\LM\esfmicr.*>nul
  23. if exist %2\esfmicr.*     del %2\esfmicr.*>nul
  24. echo.
  25. if exist %2\lm\lq.* goto NOTE3
  26. echo ************************** LQ Installation failure! **********************
  27. goto end
  28.  
  29. :NOTE1
  30. echo ==========================================================================
  31. echo This utility can install your LQ software automatically.  To use it you
  32. echo must tell it two things:
  33. echo.
  34. echo 1.  Where the LQ software is, and
  35. echo 2.  Where your Quicken software is.
  36. echo.
  37. echo For example, if the LQ software is still in floppy drive A: and Quicken
  38. echo is in D:\quicken, then you should type:                  --
  39. echo       ----------
  40. echo.
  41. echo A:INSTALL A: D:\quicken
  42. echo --        -- ----------
  43. echo.
  44. echo The utility will then create a d:\quicken\lm subdirectory and copy all of
  45. echo the LQ software there.  Then it will copy the single file LQ.BAT into your
  46. echo D:\quicken directory.  When it is done your D:\quicken directory will have
  47. echo only two new entries, the LM subdirectoy and the LQ.BAT file.
  48. echo ==========================================================================
  49.  
  50. goto end
  51.  
  52. :NOTE2
  53. echo ==========================================================================
  54. echo Installation FAILURE --- Could not copy into directory %2!
  55. echo ==========================================================================
  56.  
  57. goto end
  58.  
  59. :NOTE3
  60. echo *************************** LQ is now installed! *************************
  61. pause
  62. echo.
  63. echo ==========================================================================
  64. echo If you decide to remove LQ you need only follow these steps:
  65. echo.
  66. echo CD %2
  67. echo DEL ADISCTRL
  68. echo DEL LQ.BAT
  69. echo DEL LM
  70. echo RD  LM
  71. echo.
  72. echo To use the LQ software enter:
  73. echo.
  74. echo CD %2
  75. echo LQ
  76. echo.
  77. echo Enjoy!
  78. echo ==========================================================================
  79.  
  80. goto end
  81.  
  82. :end
  83.